package org.ccay.hypertext;

import org.ccay.hypertext.enumerable.HyperCategoryEnum;

/**
 * 邮件模板定义
 * @author chaowangbang
 *
 */
public class MailTemplate extends HyperText {


	private static final long serialVersionUID = 20171210L;

	public MailTemplate(){
		super.setCategory(Integer.parseInt(HyperCategoryEnum.MailTemplate.getValue()));
	}
	
//	@Override
//	public void setCategory(HyperCategoryEnum category) {
//		throw new IllegalAccessError();
//	}
	
	@Override
	public void setCategory(Integer category) {
		throw new IllegalAccessError();
	}
	
	/**
	 * 邮件标题
	 */
	private String title;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		super.getAddtionProperty().put("title", title);
		this.title = title;
	}
	
	

}
